home *** CD-ROM | disk | FTP | other *** search
/ Champak 138 / Volume 138 Aug 19 2011 - Damaged.iso / Games / shadez.swf / scripts / Local / Draw / CWindow_Credits.as < prev    next >
Text File  |  2011-08-19  |  921b  |  33 lines

  1. package Local.Draw
  2. {
  3.    import Local.External.CURL;
  4.    import flash.display.DisplayObject;
  5.    import flash.events.Event;
  6.    import flash.geom.Point;
  7.    
  8.    public class CWindow_Credits extends CWindow
  9.    {
  10.        
  11.       
  12.       public function CWindow_Credits(param1:DisplayObject)
  13.       {
  14.          super(new Window_Credits(),param1,new Point(0,0));
  15.          AddButton("mochibot",new CScreenButton(mcDisplay.mcMochiBot)).addEventListener(CScreenButton.MOUSECLICK,e_MOCHIBOT);
  16.          AddButton("encryption",new CScreenButton(mcDisplay.mcEncryption)).addEventListener(CScreenButton.MOUSECLICK,e_ENCRYPTION);
  17.       }
  18.       
  19.       public function e_MOCHIBOT(param1:Event = null) : void
  20.       {
  21.          CURL.MochiBot();
  22.       }
  23.       
  24.       public function e_ENCRYPTION(param1:Event = null) : void
  25.       {
  26.          if(true)
  27.          {
  28.             CURL.Encryption();
  29.          }
  30.       }
  31.    }
  32. }
  33.